<template>
	<view>
		<web-view :src="dataUrl" v-if="url"></web-view>
		<!-- <iframe :src="dataUrl" style="width:750rpx;height:100vh" frameborder="no" allowtransparency="yes"></iframe> -->

	</view>
</template>

<script>
export default {
	data () {
		return {
			dataUrl: ''
		};
	},
	onLoad (options) {
		if (options.type) {
			uni.setNavigationBarTitle({
				title: options.type
			});

		}
		if (options.url) this.dataUrl = options.url;
	}
};
</script>

<style lang="scss"></style>
